<!DOCTYPE html>
<html>
<head>
  <title>活动管理</title>
  <include file="./App/ClubAdmin/View/Public/header.html" />
    <include file="./App/ClubAdmin/View/Public/menu.html" />
    <include file="./App/ClubAdmin/View/Public/js.html" />
</head>
<body>
    <div class="templatemo-content col-1 light-gray-bg">
        <div class="templatemo-top-nav-container">
            <div class="row">
                <nav class="templatemo-top-nav col-lg-12 col-md-12">
                    <ul class="text-uppercase">
                        <li><a href="__URL__/activities" class="active">活动管理</a></li>
                        <li><a href="__URL__/activities">修改活动信息  <i class="glyphicon glyphicon-remove"></i></a></li>
                    </ul>  
                </nav> 
            </div>
        </div>
    <div class="templatemo-content-container">
      <div class="templatemo-content-widget no-padding">
        <div class="panel panel-default table-responsive">
          <table class="table table-striped table-bordered templatemo-user-table">
            <div class="container-fluid">  
              <div class="row">    
                <div class="col-md-1">
                </div>
                <div class="col-md-10">
    <form  method="post"  class="form-horizontal" action="{:U(doUpdate)}"  enctype="multipart/form-data">
            <div class="form-group">
            <input  type="hidden"  name="a_id" value="{$activityInfos.a_id}">
            </div>
            <div class="form-group">
            <label for="a_title">活动名称</label>
            <input type="text" name="a_title" id="a_title" class="form-control" value="{$activityInfos.a_title}">
            </div>
            <div class="form-group">
            <label for="a_content">活动内容</label>
            <input type="text" name="a_content" id="a_content" class="form-control" value="{$activityInfos.a_content}">
            </div>
           <!--  <div class="form-group">
            <label for="a_date">活动时间</label>
            <input type="text" name="a_date" id="a_date" class="form-control" value="{$activityInfos.a_date}">
            </div> -->
            <div class="form-group">
            <label for="a_tel">咨询热线</label>
            <input type="text" name="a_tel" id="a_tel" class="form-control" value="{$activityInfos.a_tel}">
            </div>
            <div class="form-group">
            <label for="a_cost">活动收费</label>
            <input type="text" name="a_cost" id="a_cost" class="form-control" value="{$activityInfos.a_cost}">
            </div>
            <div class="form-group">
            <label for="a_address">活动地址</label>
            <input type="text" name="a_address" id="a_address" class="form-control" value="{$activityInfos.a_address}">
            </div>
            <div class="form-group">
            <label for="a_pic1">活动图片 1 </label>
            <img src="__PUBLIC__/upload/{$activityInfos.a_pic1}" class="img-circle" style="width: 110px; height: 110px;background-color:#5f5f5f">
            <input type="file" name="file1"  value="{$activityInfos.a_pic1}" class="btn  btn-primary" style="width: 95px; height: 40px;background-color:#ffffff">
            </div>
            <div class="form-group">
            <label for="a_pic2">活动图片 2 </label>
            <img src="__PUBLIC__/upload/{$activityInfos.a_pic2}" class="img-circle" style="width: 110px; height: 110px;background-color:#5f5f5f">
            <input type="file" name="file2"  value="{$activityInfos.a_pic2}" class="btn  btn-primary" style="width: 95px; height: 40px;background-color:#ffffff">
            </div>            
            <div align="center">        
            <button type="submit" name="submit" class="btn btn-primary">保存</button>
            <a class="btn btn-default" href="__URL__/activities">返回</a>
            </div>
        </table>
    </form>
</body>
</html>

